<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Premium Series
Description: A three-column, fixed-width blog design.
Version    : 1.0
Released   : 20090303

-->


<html xmlns="http://www.w3.org/1999/xhtml">
{% if closeblog %}
   Sorry we're updating the blog. Please come back later.
   {% else %}
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Premium Series by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="Amina Kadry" content="" />
<link href="http://localhost:8000/static/default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<!-- start header -->
<div id="header">
	<div id="logo">
		<h1><a href="#"><span>Amina Kadry</a></h1>
		<p>Designed By Free CSS Templates</p>
	</div>
	<div id="menu">
		<ul id="main">
			<li class="current_page_item"><a href="#">Homepage</a></li>
			<li><a href="http://127.0.0.1:8000/pages/">Pages</a></li>
		</ul>
	</div>
	
</div>
<!-- end header -->
<div id="wrapper">
	<!-- start page -->
	<div id="page">
		<div id="sidebar1" class="sidebar">
		<ul>
				<li>
					<h2>Recent Posts</h2>
					
						{% for post in post %}
						<ul>
                         <li><a href="/blog/{{post.id}}">{{ post.title }}</a></li> 
                         <h3>Category: {{post.category.body}}</h3>
						 
                        </ul>
					
				</li>
				<li>
				{% endfor %}
					
				</li>
				<li>
					<h2>Favorite Websites</h2>
					<ul>
						
{% for website in website %}
<ul>
<li><a href="http://{{website.body}}">{{website.body}}</a></li>
</ul>
{% endfor %}
					</ul>
				</li>
			</ul>
		</div>
		<!-- start content -->
		<div id="content">
			<div class="flower"><img src="images/img06.jpg" alt="" width="510" height="250" /></div>
			<div class="post">
				<h1 class="title"><a href="#">Welcome to my blog!</a></h1>
				{% for blogtitle in blogtitle %}
                <center><b><p>{{blogtitle.title}}</p></b><center>
				{% endfor %}
				
				{% for slogan in slogan %}
                <center><b><p>{{slogan.title}}</p></b></center>
				{% endfor %}
                <p class="byline"><small>Posted on March 16th, 2012</p>
			</div>
		
			
			
			
			{% for post in post %}
               <h2><a href="/blog/{{post.id}}">{{ post.title }}</a></h2>
                <h3>Category: {{post.category.body}}</h3>
               <div class="post_meta"> on {{ post.created }}
               </div>
               <div class="post_body"> {{ post.body|safe|linebreaks }}
               </div>
			  {% endfor %}
			  
			   
			{{ categorie.post_set.all }}
			 
              
			  
			  
			  
			 
		
		</div>
		<!-- end content -->
		<!-- start sidebars -->
		<div id="sidebar2" class="sidebar">
			<ul>
				
				<li>
			
					
					<h2>Calendar</h2>
					<div id="calendar_wrap">
						<table summary="Calendar">
							<caption>
							March 2012
							</caption>
							<thead>
								<tr>
									<th abbr="Thursday" scope="col" title="Thursday">T</th>
									<th abbr="Friday" scope="col" title="Friday">F</th>
									<th abbr="Saturday" scope="col" title="Saturday">S</th>
									<th abbr="Sunday" scope="col" title="Sunday">S</th>
									<th abbr="Monday" scope="col" title="Monday">M</th>
									<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
									<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>1</td>
									<td>2</td>
									<td>3</td>
									<td>4</td>
									<td>5</td>
									<td>6</td>
									<td>7</td>
								</tr>
								<tr>
									<td>8</td>
									<td>9</td>
									<td>10</td>
									<td>11</td>
									<td>12</td>
									<td>13</td>
									<td>14</td>
								</tr>
								<tr>
									<td>15</td>
									<td>16</td>
									<td>17</td>
									<td>18</td>
									<td>19</td>
									<td>20</td>
									<td>21</td>
								</tr>
								<tr>
									<td>22</td>
									<td>23</td>
									<td>24</td>
									<td>25</td>
									<td>26</td>
									<td>27</td>
									<td>28</td>
								</tr>
								<tr>
									<td>29</td>
									<td>30</td>
									<td>31</td>
									<td class="pad" colspan="4">&nbsp;</td>
								</tr>
							</tbody>
						</table>
					</div>
				</li>
				<li>
					
					<h2> Categories </h2>
{% for categorie in categorie %}
<ul>
<li><h3><a href="blog/{{categorie.id}}">{{categorie.body}}</a></h3></li>
</ul>
{% endfor %}
				</li>
			</ul>
		</div>
		<!-- end sidebars -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end page -->
</div>
<div id="footer">
	<p class="copyright">&copy;&nbsp;&nbsp;2009 All Rights Reserved &nbsp;&bull;&nbsp; Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
	<p class="link"><a href="#">Privacy Policy</a>&nbsp;&#8226;&nbsp;<a href="#">Terms of Use</a></p>
</div>
</body>
{% endif %}
</html>

